--[[ Copyright 2012, Chris Ho                               ]]--
--[[ MIT License (Please read the LICENSE file for details) ]]--

Use("common/Creature");

-- The definition for a player global object:
-- id: player game ID
-- what: the object type (always OBJECT_PLAYER)
-- maxhp: maximum health
-- maxsp: maximum spell points
Player = {};

-- Generate a new player template.
function Player.Create(_id)
  local instance = Creature.Create(_id);

  instance.what = OBJECT_PLAYER;

  return instance;
end
